<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\c2\search\ProprietorSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="proprietor-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'id') ?>

    <?= $form->field($model, 'community_id') ?>

    <?= $form->field($model, 'building_number_id') ?>

    <?= $form->field($model, 'unit_id') ?>

    <?= $form->field($model, 'houses_id') ?>

    <?php // echo $form->field($model, 'name') ?>

    <?php // echo $form->field($model, 'phone') ?>

    <?php // echo $form->field($model, 'sy_validity_start') ?>

    <?php // echo $form->field($model, 'sy_validity_end') ?>

    <?php // echo $form->field($model, 'remarks') ?>

    <?php // echo $form->field($model, 'gender') ?>

    <?php // echo $form->field($model, 'country') ?>

    <?php // echo $form->field($model, 'nation') ?>

    <?php // echo $form->field($model, 'birthday') ?>

    <?php // echo $form->field($model, 'id_type') ?>

    <?php // echo $form->field($model, 'id_number') ?>

    <?php // echo $form->field($model, 'validity_start') ?>

    <?php // echo $form->field($model, 'validity_end') ?>

    <?php // echo $form->field($model, 'id_address') ?>

    <?php // echo $form->field($model, 'Issuing_authority') ?>

    <?php // echo $form->field($model, 'hukou') ?>

    <?php // echo $form->field($model, 'work_unit') ?>

    <?php // echo $form->field($model, 'bound_vehicle') ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('app.c2', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('app.c2', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
